JAR_PATH = ./GraphClient/dist/GraphClient.jar
GRAPH_DRAW_PATH = networkx
NODE ?= 50 

run-ba:
	java -jar $(JAR_PATH) --graph_model ba --node_number $(NODE) -o ./$(GRAPH_DRAW_PATH)/source.py

run-ws:
	java -jar  $(JAR_PATH) --graph_model ws --node_number $(NODE) -o ./$(GRAPH_DRAW_PATH)/source.py

run-r:
	java -jar  $(JAR_PATH) --graph_model r --node_number $(NODE) -o ./$(GRAPH_DRAW_PATH)/source.py

graph:
	(cd $(GRAPH_DRAW_PATH); make graph);

view:
	(cd $(GRAPH_DRAW_PATH); make view);


